﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PessModel;
using PessMvc.Models;

namespace PessMvc.Lib
{
    interface IAuthorBL
    {
        bool Add(AuthorModel author, out string errorMsg, string password = "111111");
        //bool IfExpertExists(int? expertGroupID, string realName);
        /// <summary>
        /// This is for PESS2
        /// </summary>
        /// <param name="expertGroupID"></param>
        /// <param name="realName"></param>
        /// <returns></returns>
        //bool IfAuthorExists(AuthorModel model);
        //bool IfExpertGroupMatchesActivity(int activityID, int? expertGroupID);
        Author Find(string serialNumber);
        //ExpertJudge Convert(ExpertJudgeModel model);
        //ExpertJudgeModel Convert(ExpertJudge expert);        
    }
}
